﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class TableSynonym
    {
        private string _SynonymName;
        /// <summary></summary>
        public string SynonymName
        {
            get
            {
                return this._SynonymName;
            }
            set
            {
                this._SynonymName = value;
            }
        }

        private string _DbName;
        /// <summary></summary>
        public string DbName
        {
            get
            {
                return this._DbName;
            }
            set
            {
                this._DbName = value;
            }
        }

        private string _SchemaName;
        /// <summary></summary>
        public string SchemaName
        {
            get
            {
                return this._SchemaName;
            }
            set
            {
                this._SchemaName = value;
            }
        }

        private string _TableName;
        /// <summary></summary>
        public string TableName
        {
            get
            {
                return this._TableName;
            }
            set
            {
                this._TableName = value;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="name"></param>
        /// <param name="db"></param>
        /// <param name="schema"></param>
        /// <param name="tblName"></param>
        public TableSynonym(string name, string db, string schema, string tblName)
        {
            this._SynonymName = name;
            this._DbName = db;
            this._SchemaName = schema;
            this._TableName = tblName;
        }
    }
}
